package com.dds.system.domain.admin;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dds.common.annotation.Excel;
import com.dds.common.core.domain.BaseEntity;

/**
 * 运营中心部门对象 admin_user_operation_department
 * 
 * @author gaolianjie
 * @date 2021-04-14
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor(staticName = "of",force = true)
public class AdminUserOperationDepartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 运营中心id */
    @Excel(name = "运营中心id")
    private Long operationId;

    /** 上级ID */
    @Excel(name = "上级ID")
    private Long parentId;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departmentName;

    /** 部门类型 1运营部门 2职能部门 */
    @Excel(name = "部门类型 1运营部门 2职能部门")
    private Integer departmentType;

    /** 部门收益比例 */
    @Excel(name = "部门收益比例")
    private BigDecimal shareProportion;

    /** 部门授权商家数 */
    @Excel(name = "部门授权商家数")
    private Integer operationAuthorizedNum;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;


}
